package com.itheima05;

/**
 * @author Xiao
 * @date 2021/7/9
 */
public class Person {
    /**
     *      老师和学生(案例)
     *          学校类（父类）
     */
    private String nmae;
    private int age;

    public String getNmae() {
        return nmae;
    }

    public void setNmae(String nmae) {
        this.nmae = nmae;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Person(String nmae, int age) {

        this.nmae = nmae;
        this.age = age;
    }

    public Person() {

    }
}
